Measurement of temperature using non-invasive means